package main

import (
	"github.com/gin-gonic/gin"
	"zy16/api"
	"zy16/appconfig"
	"zy16/inits"
)

func main() {
	appconfig.Init()
	inits.MysqlInit()
	inits.RedisInit()
	r := gin.Default()
	r.Static("/static", "./static")
	api.LoadApiRouter(r)
	r.Run(":8181")
}
